//@ts-ignore
import axios from '../utils/axios';
export default {
  html():Promise<any>{
    return axios.get('/index.html');
  },
  html1():Promise<any>{
    return axios.get('');
  },
  _():Promise<any>{
    return axios.get('/_');
  },
  $(params:object):Promise<any>{
    return axios.get('/static/tag',{ params });
  },
  tsx(field:string):Promise<any>{
    return axios.get('/static/tsx?'+field);
  },
  ts(field:string):Promise<any>{
    return axios.get('/static/ts?'+field);
  }
}